<?php
/**
 * Author sam
 * DateTime 2019-06-03 10:54
 * Description:
 */

namespace App\Contract;


class RedisKey
{
    CONST USER_TOKEN = "user:token";

    //后台用户权限
    const ADMIN_PRIVILEGES = 'admin:privileges';

    //后台用户菜单
    const ADMIN_MENUS = 'admin:menus';

    //用户临时谷歌秘钥
    const USER_TEMP_GOOGLE_SECRET = 'user:temp_google_secret:%s';//用户id

    //设置hash
    const SETTING_HASH = 'setting:hash';

    //可用的keyhash
    const ENABLE_KEYS = 'enable_keys:hash';
}
